#!/usr/bin/env node

const Koa = require('koa'),
      log = console.log,
      tasks = require('./routes/tasks'),
      bodyparser = require('bodyparser');

const app = new Koa();




 
app.use(bodyparser({ enableTypes:['json','form','text'] }));
app.use(tasks.routes();



app.listen(8080);

